projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b50ece1
)
(last): Handle a list that doesn't end in nil.
author
Richard M. Stallman
<rms@gnu.org>
Fri, 12 Jan 2001 19:51:09 +0000
(19:51 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Fri, 12 Jan 2001 19:51:09 +0000
(19:51 +0000)
lisp/subr.el
patch
|
blob
|
history
diff --git
a/lisp/subr.el
b/lisp/subr.el
index 3a60e15b0e5182693db64493c0fdf05c3fd76bb7..2d6a72a6ac56eca1958d40170a4c5bf441778eec 100644
(file)
--- a/
lisp/subr.el
+++ b/
lisp/subr.el
@@
-131,7
+131,7
@@
If N is bigger than the length of X, return X."
(setq m (1+ m) p (cdr p)))
(if (<= n 0) p
(if (< n m) (nthcdr (- m n) x) x)))
- (while (c
dr x
)
+ (while (c
onsp (cdr x)
)
(setq x (cdr x)))
x))